//
//  CircleNavigationBar.m
//  SmartCity
//
//  Created by LSP on 2017/9/17.
//  Copyright © 2017年 NRH. All rights reserved.
//

#import "SPNavigationBar.h"

@implementation SPNavigationBar

- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        NSDictionary *navibarTitleAttributes = @{NSForegroundColorAttributeName: [UIColor colorWithWhite:.3 alpha:1],
                                                 NSFontAttributeName: [UIFont boldSystemFontOfSize:18]};
        [super setTitleTextAttributes:navibarTitleAttributes];
        
//        [super setBackgroundImage:[UIImage imageWithColor:[UIColor colorWithHexStr:@"3b82ee"]] forBarMetrics:(UIBarMetricsDefault)];
//        [super setTintColor:[UIColor whiteColor]];
//        self.shadowImage = [UIImage imageWithColor:[UIColor colorWithHexStr:@"eeeeee"]];
    }
    return self;
}

- (void)setTranslucent:(BOOL)translucent {
    
}
- (BOOL)isTranslucent {
    return NO;
}
- (BOOL)translucent {
    return NO;
}
- (UIBarStyle)barStyle {
    return UIBarStyleDefault;
}

@end
